Appliance Networking Interfaces Ipv4 Info

Appliance Networking Interfaces Ipv4 Info
Appliance Networking Interfaces Ipv4 Info

The Appliance Networking Interfaces Ipv4 Info schema defines current IPv4 configuration state of a network interface.

This schema was added in vSphere API 6.7.

JSON Example
{
    "configurable": false,
    "mode": "string",
    "address": "string",
    "prefix": 0,
    "default_gateway": "string"
}
boolean
configurable
Required

The specified network interface is configurable or not.

This property was added in vSphere API 6.7.

string
mode
Required

The Address assignment mode.

For more information see: Appliance Networking Interfaces Ipv4 Mode.

This property was added in vSphere API 6.7.

string
address
Optional

The IPv4 address, for example, "10.20.80.191".

This property was added in vSphere API 6.7.

This property is optional and it is only relevant when the value of mode is one of Appliance Networking Interfaces Ipv4 Mode.STATIC or Appliance Networking Interfaces Ipv4 Mode.DHCP.

integer As int64 As int64
prefix
Optional

The IPv4 CIDR prefix, for example, 24. See http://www.oav.net/mirrors/cidr.html for netmask-to-prefix conversion.

This property was added in vSphere API 6.7.

This property is optional and it is only relevant when the value of mode is one of Appliance Networking Interfaces Ipv4 Mode.STATIC or Appliance Networking Interfaces Ipv4 Mode.DHCP.

string
default_gateway
Optional

The IPv4 address of the default gateway. This configures the global default gateway on the appliance with the specified gateway address and interface. This gateway replaces the existing default gateway configured on the appliance. However, if the gateway address is link-local, then it is added for that interface. This does not support configuration of multiple global default gateways through different interfaces.

This property was added in vSphere API 6.7.

This property is optional and it is only relevant when the value of mode is one of Appliance Networking Interfaces Ipv4 Mode.STATIC or Appliance Networking Interfaces Ipv4 Mode.DHCP.